package cn.com.ai.ollama;

import org.springframework.ai.ollama.api.OllamaApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class OllamaConfig {


    @Bean
    public OllamaApi ollamaApi() {
        OllamaApi ollamaApi = new OllamaApi("localhost:11434");
        return ollamaApi;
    }
}
